<li style="padding-left: {$item['level']*3}em" class="jieda-daan">
    <div class="detail-about detail-about-reply">
      <!-- 头像 -->
      <a class="fly-avatar" href="{:url('home/user/index',['userid'=>$item['userid']])}">
        {if condition="$item['user']['avatar']"}
          <img src="/{$item.user.avatar}" />
        {else /}
          <img src="/assets/home/images/avatar.jpg" />
        {/if}
      </a>

      <!-- 用户信息 -->
      <div class="fly-detail-user">
        <!-- 昵称 -->
        <a href="javascript:void(0)" class="fly-link">
          <cite>{$item.user.nickname}</cite>
          {if condition="$item.user['auth'] > 0"}
            <i class="iconfont icon-renzheng"></i>
          {/if}
        </a>
        
        {if condition="$key == 0"}
          <span style="color: #FF7200;">(楼主)</span>
        {/if}
        
        {if condition="$item['userid']==$post['userid']"}
          <span style="color:#5FB878">(发帖人)</span>
        {/if}
      </div>

      <!-- 评论时间 -->
      <div class="detail-hits">
        <span>{$item.createtime}</span>
      </div>

     <!-- 采纳图标 -->
     {if condition="$item['accept'] == 1"}
      <i class="iconfont icon-caina" title="最佳答案"></i>
     {/if}
    </div>

    <!-- 评论内容 -->
    <div class="detail-body jieda-body photos">
      <p>{$item.content}</p>
    </div>

    {if condition="$Think.cookie.LoginUser"}
      <div class="jieda-reply">
        <!-- 点赞 -->
        <span class="jieda-zan {$item.action ? 'zanok' : ''}" type="zan">
          <i class="iconfont icon-zan"></i>
          <em>{$item.like_count}</em>
        </span>

        <!-- 回复 -->
        <!-- data-pid 自定义属性 -->
        {if condition="!$post['accept']"}
          <a href="#comment" class="reply" data-pid="{$item.id}" data-nickname="{$item.user.nickname}" type="reply">
            <i class="iconfont icon-svgmoban53"></i>
            回复
          </a>
        {/if}
        
        <div class="jieda-admin">
          <!-- (登录的人  == 发帖userid)发帖人 || 评论本人(评论人 == 登录的人) -->
          {if condition="($Think.cookie.LoginUser['id']==$post['userid']) OR ($Think.cookie.LoginUser['id'] == $item['userid'])"}
            {if condition="!$post['accept']"}
              <span type="del">删除</span>
            {/if}
          {/if}

          {if condition="$Think.cookie.LoginUser['id'] == $post['userid']"}
            {if condition="!$post['accept']"}
            <span class="accept" data-comid="{$item.id}" class="jieda-accept" type="accept">
              采纳
            </span>
            {/if}
          {/if}
        </div>
      </div>
    {/if}
  </li>